package com.dubbo.rpc.common;

/**
 * @author liuxin
 * @date 2021/10/10 8:38
 */
public enum ResultCodeEnum {

    ERROR(-1, "error"),

    ;


    int code;

    String message;

    ResultCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
